package com.baizhi.controller;

import com.baizhi.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

//@Component
@Controller
public class UserController {

    @Autowired
    private UserService userService;

    public void add(){
        userService.addUser();
    }

    public void delete(){
        userService.deleteUser();
    }
}
